package com.meitianhui.convenitenbuy.module.mine.adapter;

import android.support.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.meitianhui.convenitenbuy.R;
import com.meitianhui.convenitenbuy.module.mine.model.ShoppersHistoricalBean;

import java.util.List;

/*
 Created by amy on 2017/11/27.
 */

public class GuiderHistoryRequestAdapter extends BaseQuickAdapter<ShoppersHistoricalBean.Convient,BaseViewHolder> {
    public GuiderHistoryRequestAdapter( @Nullable List<ShoppersHistoricalBean.Convient> data) {
        super(R.layout.item_guider_history_request, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, ShoppersHistoricalBean.Convient item) {
        helper.setText(R.id.tv_item_history_request_title,item.getEvent_desc());
        helper.setText(R.id.tv_item_history_request_time,item.getTracked_date());
    }
}
